package com.itheima.sh.c_modifer_01;

import com.itheima.sh.c_modifer.Fu;

public class Demo02 {
    public static void main(String[] args) {
        Fu f = new Fu();
        // f.privateMethod();//报错
        //f.method();//报错
        //f.protectedMethod();//报错
        f.publicMethod();

        Zi zi = new Zi();
//        zi.protectedMethod();//报错
    }
}
